/*
 * Copyright Owen Watson 2009
 * 
 * This file is part of ArtNotes.
 *
 * ArtNotes is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.

 * ArtNotes is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with ArtNotes.  If not, see <http://www.gnu.org/licenses/>.
*/


using System;
using System.IO;
using MonoTouch.CoreLocation;

namespace ArtNotes
{
	/// <summary>
	/// A static class used to provide access to
	/// common objects, such as the database and
	/// the GPS.
	/// It also provides the locations of common
	/// areas, such as the document directory.
	/// </summary>
	public static class AN_APP_OPTIONS
	{

		public static string APP_VERSION
		{
			get {
				return "1.0";
			}
		}
		
		public static string DB_NAME
		{
			get {
				return "artnotes.db";
			}
		}
		
		public static string APP_NAME
		{
			get {
				return "artnotes";
			}
		}
		
		public static string DOC_DIR
		{
			get {
				return Environment.GetFolderPath (Environment.SpecialFolder.Personal) + "/" + APP_NAME + "/";
			}
		}
		
		public static string THUMB_DIR
		{
			get {
				return Environment.GetFolderPath (Environment.SpecialFolder.Personal) + "/" + APP_NAME + "/" + "thumbnails" + "/";
			}
		}
		
		public static string THUMB_PREFIX
		{
			get {
				return "thumb_";
			}
		}
		
		public static string DB_PATH
		{
			get {
				return AN_APP_OPTIONS.DOC_DIR + AN_APP_OPTIONS.DB_NAME;
			}
		}
		
		// The API key belongs to ArtNotesDev. No stealing it!
		public static string AN_FLICKR_APIKEY
		{
			get {
				return "5b5e453ad39ab5770f49ca73debeda40";
			}
		}
		
		// The Secret belongs to ArtNotesDev. No stealing it!
		public static string AN_FLICKR_SECRET
		{
			get {
				return "097f8bb3121875a8";
			}
		}
		
		public static ANDatabase AN_DATABASE;
		
		public static CLLocationManager AN_LOCATION;
		
		public static bool AN_ADVANCED;
		
		public static FlickrNet.Flickr AN_FLICKR;
	}
}
